Skip to content

AUTH-11 Implement Supabase SSR clients, OTP helpers, and auth callback#3

Open
loganravin4 wants to merge 4 commits intomainfrom
auth-11
Open

AUTH-11 Implement Supabase SSR clients, OTP helpers, and auth callback#3
loganravin4 wants to merge 4 commits intomainfrom
auth-11

Conversation

@loganravin4
Copy link
Copy Markdown
Collaborator

Add server-side createServerSupabaseClient (cookies + @supabase/ssr), service-role
admin client, sendOtp / verifyOtp / getAuthUser, root middleware session refresh,
and PKCE exchange on /auth/callback.

@loganravin4 loganravin4 requested a review from b-at-neu March 30, 2026 14:15
Copy link
Copy Markdown
Collaborator

@b-at-neu b-at-neu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a few questions and minor suggestions. Also remember to prefix your commits with the linear tag!!

Comment thread src/app/auth/callback/route.ts Outdated
Comment thread src/app/auth/callback/route.ts Outdated
Comment thread src/lib/supabase/admin.ts
Comment thread src/lib/supabase/env.ts Outdated
Comment thread src/lib/supabase/env.ts Outdated
Comment thread src/lib/supabase/middleware.ts Outdated
Comment thread src/lib/supabase/otp.ts
Comment thread src/middleware.ts Outdated
@loganravin4 loganravin4 self-assigned this Apr 13, 2026
@loganravin4 loganravin4 requested a review from b-at-neu April 13, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants